﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FlexFlow.Model
{
    /// <summary>
    /// 表示工作流的路径，路径用来从一个<see cref="FlexFlow.Model.Activity"/>指向另一个<see cref="FlexFlow.Model.Activity"/>
    /// </summary>
    [Serializable]
    public sealed class FlowPath : PhysicalModel
    {
        /// <summary>
        /// 表示该路径所在的流程Id
        /// </summary>
        public Guid ProcessId { get; set; }
        /// <summary>
        /// 表示该路径的起始活动的Guid
        /// </summary>
        public Guid From { get; set; }
        /// <summary>
        /// 表示该路径的终点活动的Guid
        /// </summary>
        public Guid To { get; set; }
        /// <summary>
        /// 表示该路径的流转条件
        /// </summary>
        public string FlowCondition { get; set; }
    }
}
